//
//  GymAnnotationView.m
//  YouthOlympic2014
//
//  Created by xiangpaopao on 14-6-30.
//  Copyright (c) 2014年 mitian. All rights reserved.
//

#import "GymAnnotationView.h"

@implementation GymAnnotationView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}
- (void)initAnnotationView
{
    self.image = [UIImage imageNamed:@"pin"];
}

- (void)setSelected:(BOOL)selected
{
    if (selected) {
        self.image = [UIImage imageNamed:@"pin_on"];
    }else{
        self.image = [UIImage imageNamed:@"pin"];
    }
}


@end
